<?php
// +----------------------------------------------------------------------
// | 美胸汇 [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.dongdang.xin All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------

//if (file_exists(CMF_ROOT . "data/conf/route.php")) {
//    $runtimeRoutes = include CMF_ROOT . "data/conf/route.php";
//} else {
//    $runtimeRoutes = [];
//}
//
//return $runtimeRoutes;
use think\Route;

//article
Route::get('api/:version/article/:num','api/:version.Article/index');
Route::get('api/:version/article/one/:id','api/:version.Article/getOne');

//data
Route::get('api/:version/data','api/:version.Data/index');

//liuyan
Route::post('api/:version/liuyan','api/:version.Liuyan/getPostData');

//video
Route::get('api/:version/video/:num','api/:version.Video/index');
Route::get('api/:version/video/one/:id','api/:version.Video/getOne');